@echo off

echo Setting Java Environment to the following: 
call setenv.bat
java -version
echo Completed setting Java Environment.

echo.
echo Cleaning up folders...
rmdir /s /q classes

echo.
echo Creating directory and compiling source...
mkdir classes 
javac -sourcepath src -d classes src\sg\edu\nus\iss\billing\BillingApplication.java
echo Completed compiling all source.
echo.

pause